﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage2.master" 
    AutoEventWireup="true" CodeBehind="AuditNoticeList.aspx.cs" Inherits="HZ.Supervise.Web.Admin.AuditNoticeList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="AuditNoticeList.aspx">公告列表</a></li>
            <li><a href="MessageGet.aspx">消息查看</a></li> 
        </ul>
    </div> 
    <asp:GridView ID="gvwNotice" runat="server" AutoGenerateColumns="False" Width="100%"
        CssClass="mainlist" EmptyDataText="暂无相关的公告信息！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 %>
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题">
                <ItemTemplate>
                    <a href='NoteInfo.aspx?mID=<%# Eval("NoticeSerialID") %>&flag=N1'>
                        <asp:Label runat="server" ID="lblNtitle" Text='<%#  Server.HtmlEncode(Eval("Title").ToString()) %>'
                            ToolTip="点击进入审核该公告"></asp:Label></a>
                </ItemTemplate>
                <HeaderStyle Width="70%" />
            </asp:TemplateField> 
            <asp:TemplateField HeaderText="发布时间">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("SendTime") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText=" " Visible="false">
                <HeaderTemplate>
                    <input id="addTable_chkAll" name="addTable_chkAll" type="checkbox" onclick="SelectAllCheckboxes(this,'ContentPlaceHolder1_gvwInvoice','addTable_chkAll'); " />
                </HeaderTemplate>
                <ItemTemplate>
                    <input type="checkbox" name="chkMsg" id="chkMsg" value='<%#Eval("NoticeSerialID")%>'
                        onclick="chkChecked(this,'ContentPlaceHolder1_gvwInvoice','addTable_chkAll');"
                        runat="server" />
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Center" />
    </asp:GridView>
    <div class="PageChanged">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示：<span style="color: Red;">点击标题，查看公告详细信息。</span></li>
        </ul>
    </div>
</asp:Content>
